package com.ygqh.baby.service;
import java.util.List;

import com.ygqh.baby.ao.Message;
import  com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.AdminContract;
import  com.ygqh.baby.po.AdminSupplementContract;

public interface AdminSupplementContractService {

    
    List<AdminSupplementContract> find();
	int findCount();
	AdminSupplementContract findById(Long id);
	int deleteSoft(Long[] ids);
	int deleteSoft(Long id);
	Message save(AdminSupplementContract adminSupplementContract, String operator);
	Message update(AdminSupplementContract adminSupplementContract, String operator);
	Message saveOrUpdate(AdminSupplementContract adminSupplementContract, String operator);
	ResultSet<AdminSupplementContract> search(QueryInfo queryInfo, String q, String changeContractCode);
	AdminSupplementContract findByCode(String code);


	Message archivedContract(Long id, String operator, String contractCode);

	Message deleteSettlementContract(Long id, String operator);

	AdminSupplementContract findDetailById(Long id);

	Message updateSettlementRemark(Long id, String operator, String remark);
	int updateMain(AdminSupplementContract adminSupplementContract);
}
